package com.bawei.module_publish.openlive.intent

import com.bawei.lib_mvi.IIntent
import com.bawei.module_publish.openlive.model.entity.OpenLiveBody
import com.bawei.module_publish.openlive.model.entity.SendAdInfoBody
import com.bawei.module_publish.openlive.model.entity.SendPacketBody
import com.bawei.module_publish.openlive.model.entity.SquareGoodsBody
import com.bawei.module_publish.openlive.model.entity.TopCarBody

sealed class LiveIntent: IIntent {
    /**
     * 开启直播
     */
    data class OpenLive(val body: OpenLiveBody):LiveIntent()
    /**
     * 发送红包
     */
    data class SendRedPacket(val body: SendPacketBody):LiveIntent()
    /**
     * 获取在线人数
     */
    data class GetOnlineNum(val roomId:String):LiveIntent()
    /**
     * 删除直播间
     */
    data class DeleteLiveRoom(val roomId:String):LiveIntent()
    /**
     * 获取我的商品
     */
    object MyShowcase:LiveIntent()
    /**
     * 上车商品
     */
    data class TopCar(val body: TopCarBody):LiveIntent()
    /**
     * 获取直播间商品
     */
    data class LiveRoomGoods(val roomId:String):LiveIntent()
    /**
     * 直播间商品解释
     */
    data class ExplainGoods(val body: TopCarBody):LiveIntent()
    /**
     * 选品广场
     */
    data class ChooseProductSquare(val body: SquareGoodsBody):LiveIntent()
    /**
     * 添加或取消商品上架
     */
    data class AddOrCancelShowcase(val goodsId: Int):LiveIntent()
    /**
     * 添加广告信息
     */
    data class AdInfo(val body: SendAdInfoBody):LiveIntent()
}